<?
define("BROPHP", "./brophp");  //框架源文件的位置
define("APP", "./");           //设置当前应用的目录
require(BROPHP.'/brophp.php');

session_start();
define("idir","i/");
include(idir."adLDAP.class.php");
$adldap = new adLDAP();


if($_SERVER["QUERY_STRING"]=="signin" or $_SERVER["QUERY_STRING"]=="signout" or $_SERVER["QUERY_STRING"]=="signup"){
    //echo "<p>hi</p>";
    include(idir."sign.action.php");
} else if((int)$_SERVER["QUERY_STRING"]>0){
    include(idir."profile.action.php");
} else if($_SERVER["QUERY_STRING"]=="post"){
    include(idir."post.action.php");
} else {
    include(idir."index.action.php");
}

